import java.sql.SQLOutput;

public class main {
    public static void main(String[] args) {

        Circle circle1 = new Circle(5);
Solid solid1 = new Solid();
solid1.setShape(circle1);
solid1.setHeight(6);
        System.out.println(solid1 .getVolume());
triangle triangle=new triangle(1,2,2);

Solid solid2 =  new Solid(5,triangle);
        System.out.println(solid2.getVolume());

    }
}